package com.bringspring.oauth.method.detail;

import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;

import java.util.Collection;

public class UserExtend extends User {

    private String secretkey;

    public String getSecretkey() {
        return secretkey;
    }


    public UserExtend(String username,String secretkey, String password, Collection<? extends GrantedAuthority> authorities) {
        super(username, password, authorities);
        this.secretkey=secretkey;
    }
}
